<template>
  <div>
    <button @click="$router.back()">返回</button>ArticleDetail

    <div>{{ article.content }}+{{ article.id }}</div>
  </div>
</template>

<script>
export default {
  name: "ArticleDetail",
  data() {
    return {
      article: {},
    };
  },
  created() {
    console.log("id:" + this.$route.params.id + "的文章详情");
    this.article = {
      id: this.$route.params.id,
      content: "content",
      title: "title",
    };
  },
};
</script>

<style></style>
